.container {
  min-height: 100vh;
  background: #f8f8f8;
}

.search-box {
  padding: 20rpx 30rpx;
  background: #fff;
  display: flex;
  align-items: center;

  .search-icon {
    font-size: 28rpx;
    color: #999;
    margin-right: 10rpx;
  }

  input {
    flex: 1;
    height: 64rpx;
    background: #f5f5f5;
    border-radius: 32rpx;
    padding: 0 20rpx;
    font-size: 28rpx;
  }
}

.placeholder {
  color: #999;
  font-size: 28rpx;
}

.order-tabs {
  display: flex;
  background: #fff;
  padding: 20rpx 0;
  border-bottom: 1rpx solid #f5f5f5;

  .tab-item {
    flex: 1;
    text-align: center;
    font-size: 28rpx;
    color: #333;
    position: relative;

    &.active {
      color: #ff0000;
      font-weight: 500;

      &::after {
        content: '';
        position: absolute;
        bottom: -20rpx;
        left: 50%;
        transform: translateX(-50%);
        width: 40rpx;
        height: 4rpx;
        background: #ff0000;
        border-radius: 2rpx;
      }
    }
  }
}

.order-list {
  padding: 20rpx;
}

.order-item {
  background: #fff;
  border-radius: 12rpx;
  margin-bottom: 20rpx;
  padding: 20rpx;

  .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20rpx;
    border-bottom: 1rpx solid #f5f5f5;

    .order-time {
      font-size: 26rpx;
      color: #666;
    }

    .order-status {
      font-size: 26rpx;
      color: #999;
    }
  }

  .goods-info {
    display: flex;
    padding: 20rpx 0;

    .goods-img {
      width: 120rpx;
      height: 120rpx;
      border-radius: 8rpx;
      margin-right: 20rpx;
    }

    .goods-detail {
      flex: 1;
	
		.goods-name {
		  font-size: 28rpx;
		  color: #333;
		  margin-bottom: 10rpx;
		}
    }
	
	.goods-priceCount{
		display: flex;
		flex-direction: column;
		align-items: center;
		  
		.goods-count {
		  font-size: 26rpx;
		  color: #999;
		}
		
		.goods-price {
		  font-size: 28rpx;
		  color: #333;
		}
	}
	
  }

  .goods-list {
    display: flex;
	align-items: center;
    padding: 20rpx 0;
    border-bottom: 1rpx solid #f5f5f5;
	
	.goods-imgtext{
	    display: flex;
	    flex-direction: column;
	    align-items: center;
	    justify-content: center;
		
		.goods-count {
		  margin-top: 5rpx; /* 调整文字与图片的间距 */
		  font-size: 26rpx;
		  color: #999;
		}
	}

    .goods-img {
      width: 160rpx;
      height: 160rpx;
      border-radius: 8rpx;
      margin-right: 20rpx;

      &:last-child {
        margin-right: 0;
      }
    }
  }

  .order-footer {
    padding-top: 20rpx;

    .total-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20rpx;
      font-size: 26rpx;
      color: #666;

      .total-price {
        font-size: 26rpx;
        color: #333;

        .price {
          color: #ff0000;
          font-weight: 500;
        }
      }
    }

    .btn-group {
      display: flex;
      justify-content: flex-end;
      gap: 20rpx;

      .btn {
        min-width: 160rpx;
        height: 60rpx;
        font-size: 26rpx;
        border-radius: 30rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0 30rpx;

        &.btn-plain {
          background: #fff;
          color: #666;
          border: 1rpx solid #ddd;
        }

        &.btn-primary {
          background: #ff0000;
          color: #fff;
        }

        &::after {
          display: none;
        }
      }
    }
  }
}